/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package speedymarket_fusion;

import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.DefaultComboBoxModel;
import javax.swing.DefaultListModel;

/**
 *
 * @author tordeepweb
 */
public class Article_Myadmin extends javax.swing.JFrame {

    private DefaultListModel leModelListCategorie;

    /**
     * Creates new form Article_Myadmin
     */
    public Article_Myadmin() throws SQLException {
        initComponents();

        this.leModelListCategorie = (DefaultListModel) jListCategorie.getModel();

        for (Categorie cat : SpeedyMarketAccessDB.getCategorieDao()) {

            jComboBoxCategories.addItem(cat.getLibelle_categorie());
        }

    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jTabbedPaneArticle = new javax.swing.JTabbedPane();
        jPanelAccueil = new javax.swing.JPanel();
        jComboBoxCategories = new javax.swing.JComboBox();
        jScrollPaneArticles = new javax.swing.JScrollPane();
        jListCategorie = new javax.swing.JList();
        jButtonCreation = new javax.swing.JButton();
        jButtonLire = new javax.swing.JButton();
        jButtonMAJ = new javax.swing.JButton();
        jButtonAnnuler = new javax.swing.JButton();
        jLabelUtilisateur = new javax.swing.JLabel();
        jPanelGestion = new javax.swing.JPanel();
        jLabelCodeArticle = new javax.swing.JLabel();
        jTextFieldCodeArticle = new javax.swing.JTextField();
        jLabelLibelle = new javax.swing.JLabel();
        jTextFieldLibelle = new javax.swing.JTextField();
        jLabelDescrCourte = new javax.swing.JLabel();
        jTextAreaDescrCourte = new javax.swing.JTextArea();
        jLabelDescrLongue = new javax.swing.JLabel();
        jTextAreaDescrLongue = new javax.swing.JTextArea();
        jLabelPrixHT = new javax.swing.JLabel();
        jTextFieldPrixHT = new javax.swing.JTextField();
        jLabelQuantite = new javax.swing.JLabel();
        jTextFieldQuantite = new javax.swing.JTextField();
        jLabelVisibilite = new javax.swing.JLabel();
        jTextFieldVisibilite = new javax.swing.JTextField();
        jLabelCodeCategorie = new javax.swing.JLabel();
        jComboBoxCodeCategorie = new javax.swing.JComboBox();
        jLabelCodeTVA = new javax.swing.JLabel();
        jComboBoxCodeTVA = new javax.swing.JComboBox();
        jLabel1CodeMarque = new javax.swing.JLabel();
        jTextField1CodeMarque = new javax.swing.JTextField();
        jLabel1CodeImage = new javax.swing.JLabel();
        jComboBoxCodeMarque = new javax.swing.JComboBox();
        jButtonValider = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        jComboBoxCategories.setModel(new DefaultComboBoxModel());
        jComboBoxCategories.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jComboBoxCategoriesActionPerformed(evt);
            }
        });

        jListCategorie.setModel(new DefaultListModel());
        jScrollPaneArticles.setViewportView(jListCategorie);

        jButtonCreation.setText("Créer");

        jButtonLire.setText("Afficher");

        jButtonMAJ.setText("Mettre à jour");

        jButtonAnnuler.setText("Supprimer");
        jButtonAnnuler.setEnabled(false);

        javax.swing.GroupLayout jPanelAccueilLayout = new javax.swing.GroupLayout(jPanelAccueil);
        jPanelAccueil.setLayout(jPanelAccueilLayout);
        jPanelAccueilLayout.setHorizontalGroup(
            jPanelAccueilLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelAccueilLayout.createSequentialGroup()
                .addGroup(jPanelAccueilLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelAccueilLayout.createSequentialGroup()
                        .addGap(172, 172, 172)
                        .addComponent(jButtonCreation)
                        .addGap(18, 18, 18)
                        .addComponent(jButtonLire)
                        .addGap(18, 18, 18)
                        .addComponent(jButtonMAJ)
                        .addGap(18, 18, 18)
                        .addComponent(jButtonAnnuler))
                    .addGroup(jPanelAccueilLayout.createSequentialGroup()
                        .addGap(58, 58, 58)
                        .addGroup(jPanelAccueilLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabelUtilisateur, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(jPanelAccueilLayout.createSequentialGroup()
                                .addComponent(jComboBoxCategories, javax.swing.GroupLayout.PREFERRED_SIZE, 114, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(71, 71, 71)
                                .addComponent(jScrollPaneArticles, javax.swing.GroupLayout.PREFERRED_SIZE, 316, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                .addContainerGap(125, Short.MAX_VALUE))
        );
        jPanelAccueilLayout.setVerticalGroup(
            jPanelAccueilLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelAccueilLayout.createSequentialGroup()
                .addGap(23, 23, 23)
                .addComponent(jLabelUtilisateur, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(39, 39, 39)
                .addGroup(jPanelAccueilLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jComboBoxCategories, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jScrollPaneArticles, javax.swing.GroupLayout.PREFERRED_SIZE, 269, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 255, Short.MAX_VALUE)
                .addGroup(jPanelAccueilLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButtonCreation)
                    .addComponent(jButtonLire)
                    .addComponent(jButtonMAJ)
                    .addComponent(jButtonAnnuler))
                .addGap(70, 70, 70))
        );

        jTabbedPaneArticle.addTab("Accueil", jPanelAccueil);

        jLabelCodeArticle.setText("Code article");

        jTextFieldCodeArticle.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTextFieldCodeArticleActionPerformed(evt);
            }
        });

        jLabelLibelle.setText("Libellé");

        jTextFieldLibelle.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTextFieldLibelleActionPerformed(evt);
            }
        });

        jLabelDescrCourte.setText("Description courte");

        jTextAreaDescrCourte.setColumns(20);
        jTextAreaDescrCourte.setRows(5);

        jLabelDescrLongue.setText("Description longue");

        jTextAreaDescrLongue.setColumns(20);
        jTextAreaDescrLongue.setRows(5);

        jLabelPrixHT.setText("Prix HT");

        jLabelQuantite.setText("Quantité en stock");

        jLabelVisibilite.setText("Visibilité");

        jLabelCodeCategorie.setText("Code catégorie");

        jComboBoxCodeCategorie.setModel(new DefaultComboBoxModel());

        jLabelCodeTVA.setText("Code TVA");

        jComboBoxCodeTVA.setModel(new DefaultComboBoxModel());

        jLabel1CodeMarque.setText("Code marque");

        jLabel1CodeImage.setText("Code image");

        jComboBoxCodeMarque.setModel(new DefaultComboBoxModel());

        jButtonValider.setText("Valider");

        javax.swing.GroupLayout jPanelGestionLayout = new javax.swing.GroupLayout(jPanelGestion);
        jPanelGestion.setLayout(jPanelGestionLayout);
        jPanelGestionLayout.setHorizontalGroup(
            jPanelGestionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelGestionLayout.createSequentialGroup()
                .addContainerGap(155, Short.MAX_VALUE)
                .addGroup(jPanelGestionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(jPanelGestionLayout.createSequentialGroup()
                        .addGap(149, 149, 149)
                        .addComponent(jTextFieldPrixHT, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanelGestionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                        .addGroup(jPanelGestionLayout.createSequentialGroup()
                            .addComponent(jLabelQuantite)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jTextFieldQuantite, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGroup(jPanelGestionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabelPrixHT)
                            .addGroup(jPanelGestionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                .addGroup(jPanelGestionLayout.createSequentialGroup()
                                    .addComponent(jLabelDescrCourte)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .addComponent(jTextAreaDescrCourte, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addGroup(jPanelGestionLayout.createSequentialGroup()
                                    .addGroup(jPanelGestionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                        .addComponent(jLabelLibelle)
                                        .addComponent(jLabelCodeArticle))
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .addGroup(jPanelGestionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                        .addComponent(jTextFieldLibelle, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addComponent(jTextFieldCodeArticle, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addGroup(jPanelGestionLayout.createSequentialGroup()
                                    .addComponent(jLabelDescrLongue)
                                    .addGap(61, 61, 61)
                                    .addComponent(jTextAreaDescrLongue, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE))))
                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanelGestionLayout.createSequentialGroup()
                            .addGroup(jPanelGestionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(jLabelVisibilite)
                                .addComponent(jLabelCodeTVA)
                                .addComponent(jLabelCodeCategorie, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addGroup(jPanelGestionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(jTextFieldVisibilite, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(jComboBoxCodeCategorie, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(jComboBoxCodeTVA, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanelGestionLayout.createSequentialGroup()
                            .addGroup(jPanelGestionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(jLabel1CodeMarque)
                                .addComponent(jLabel1CodeImage))
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addGroup(jPanelGestionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(jComboBoxCodeMarque, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(jTextField1CodeMarque, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                .addGap(66, 66, 66)
                .addComponent(jButtonValider)
                .addGap(89, 89, 89))
        );
        jPanelGestionLayout.setVerticalGroup(
            jPanelGestionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelGestionLayout.createSequentialGroup()
                .addGap(32, 32, 32)
                .addGroup(jPanelGestionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelCodeArticle)
                    .addComponent(jTextFieldCodeArticle, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanelGestionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextFieldLibelle, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabelLibelle))
                .addGap(18, 18, 18)
                .addGroup(jPanelGestionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelDescrCourte)
                    .addComponent(jTextAreaDescrCourte, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(jPanelGestionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextAreaDescrLongue, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabelDescrLongue))
                .addGap(18, 18, 18)
                .addGroup(jPanelGestionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextFieldPrixHT, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabelPrixHT))
                .addGap(18, 18, 18)
                .addGroup(jPanelGestionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextFieldQuantite, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabelQuantite))
                .addGap(18, 18, 18)
                .addGroup(jPanelGestionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextFieldVisibilite, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabelVisibilite))
                .addGap(18, 18, 18)
                .addGroup(jPanelGestionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelCodeCategorie)
                    .addComponent(jComboBoxCodeCategorie, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanelGestionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelCodeTVA)
                    .addComponent(jComboBoxCodeTVA, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanelGestionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel1CodeMarque)
                    .addComponent(jComboBoxCodeMarque, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanelGestionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel1CodeImage)
                    .addComponent(jTextField1CodeMarque, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButtonValider))
                .addGap(200, 200, 200))
        );

        jTabbedPaneArticle.addTab("Gestion Article", jPanelGestion);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(110, 110, 110)
                .addComponent(jTabbedPaneArticle, javax.swing.GroupLayout.PREFERRED_SIZE, 689, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(137, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(51, 51, 51)
                .addComponent(jTabbedPaneArticle, javax.swing.GroupLayout.PREFERRED_SIZE, 727, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(64, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jTextFieldLibelleActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTextFieldLibelleActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jTextFieldLibelleActionPerformed

    private void jTextFieldCodeArticleActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTextFieldCodeArticleActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jTextFieldCodeArticleActionPerformed

    private void jComboBoxCategoriesActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jComboBoxCategoriesActionPerformed

        leModelListCategorie.addElement(jComboBoxCategories.getSelectedItem());


    }//GEN-LAST:event_jComboBoxCategoriesActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(Article_Myadmin.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(Article_Myadmin.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(Article_Myadmin.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(Article_Myadmin.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                try {
                    new Article_Myadmin().setVisible(true);
                } catch (SQLException ex) {
                    Logger.getLogger(Article_Myadmin.class.getName()).log(Level.SEVERE, null, ex);
                }
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButtonAnnuler;
    private javax.swing.JButton jButtonCreation;
    private javax.swing.JButton jButtonLire;
    private javax.swing.JButton jButtonMAJ;
    private javax.swing.JButton jButtonValider;
    private javax.swing.JComboBox jComboBoxCategories;
    private javax.swing.JComboBox jComboBoxCodeCategorie;
    private javax.swing.JComboBox jComboBoxCodeMarque;
    private javax.swing.JComboBox jComboBoxCodeTVA;
    private javax.swing.JLabel jLabel1CodeImage;
    private javax.swing.JLabel jLabel1CodeMarque;
    private javax.swing.JLabel jLabelCodeArticle;
    private javax.swing.JLabel jLabelCodeCategorie;
    private javax.swing.JLabel jLabelCodeTVA;
    private javax.swing.JLabel jLabelDescrCourte;
    private javax.swing.JLabel jLabelDescrLongue;
    private javax.swing.JLabel jLabelLibelle;
    private javax.swing.JLabel jLabelPrixHT;
    private javax.swing.JLabel jLabelQuantite;
    private javax.swing.JLabel jLabelUtilisateur;
    private javax.swing.JLabel jLabelVisibilite;
    private javax.swing.JList jListCategorie;
    private javax.swing.JPanel jPanelAccueil;
    private javax.swing.JPanel jPanelGestion;
    private javax.swing.JScrollPane jScrollPaneArticles;
    private javax.swing.JTabbedPane jTabbedPaneArticle;
    private javax.swing.JTextArea jTextAreaDescrCourte;
    private javax.swing.JTextArea jTextAreaDescrLongue;
    private javax.swing.JTextField jTextField1CodeMarque;
    private javax.swing.JTextField jTextFieldCodeArticle;
    private javax.swing.JTextField jTextFieldLibelle;
    private javax.swing.JTextField jTextFieldPrixHT;
    private javax.swing.JTextField jTextFieldQuantite;
    private javax.swing.JTextField jTextFieldVisibilite;
    // End of variables declaration//GEN-END:variables
}
